package cc.idoone.annotation.importAnnotation;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext("cc.idoone.annotation.importAnnotation");
        DemoService ds = context.getBean(DemoService.class);
        ds.doSomething();
    }
}
